package com.moduls.interfaceFunction.excel.export;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * 供应商对账单
 * @author pc
 *
 */
public class SupplyFuheBean {

	private String fin_supply_no;
	private String create_time;
	private String company;
	private String fin_supply_amount;
	private String fuhe_status;
	private String fuhe_name;
	private String fuhe_time;
	
	public SupplyFuheBean() {
		
	}
	public SupplyFuheBean(Map<String, Object> map) {
		if (!(map.get("fin_supply_no") == null || map.get("fin_supply_no").equals(""))) {
    		this.fin_supply_no = map.get("fin_supply_no").toString();
		}
    	if (!(map.get("create_time") == null || map.get("create_time").equals(""))) {
    		this.create_time = map.get("create_time").toString();
		}
    	if (!(map.get("company") == null || map.get("company").equals(""))) {
    		this.company = map.get("company").toString();
		}
    	if (!(map.get("fin_supply_amount") == null || map.get("fin_supply_amount").equals(""))) {
    		this.fin_supply_amount = map.get("fin_supply_amount").toString();
		}
    	if (!(map.get("fuhe_status") == null || map.get("fuhe_status").equals(""))) {
    		this.fuhe_status = map.get("fuhe_status").toString();
		}
    	if (!(map.get("fuhe_name") == null || map.get("fuhe_name").equals(""))) {
    		this.fuhe_name = map.get("fuhe_name").toString();
		}
    	if (!(map.get("fuhe_time") == null || map.get("fuhe_time").equals(""))) {
    		this.fuhe_time = map.get("fuhe_time").toString();
		}
	}
	
	public static List<SupplyFuheBean> getBean(List<Map<String, Object>> list) {
		List<SupplyFuheBean> supplyFuheBeans = null;
		if (list != null && list.size() > 0) {
			supplyFuheBeans = new ArrayList<>();
			for (Map<String, Object> map : list) {
				supplyFuheBeans.add(new SupplyFuheBean(map));
			}
		}
		return supplyFuheBeans;
	}
	
	public String getFin_supply_no() {
		return fin_supply_no;
	}
	public void setFin_supply_no(String fin_supply_no) {
		this.fin_supply_no = fin_supply_no;
	}
	public String getCreate_time() {
		return create_time;
	}
	public void setCreate_time(String create_time) {
		this.create_time = create_time;
	}
	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}
	public String getFin_supply_amount() {
		return fin_supply_amount;
	}
	public void setFin_supply_amount(String fin_supply_amount) {
		this.fin_supply_amount = fin_supply_amount;
	}
	public String getFuhe_status() {
		return fuhe_status;
	}
	public void setFuhe_status(String fuhe_status) {
		this.fuhe_status = fuhe_status;
	}
	public String getFuhe_name() {
		return fuhe_name;
	}
	public void setFuhe_name(String fuhe_name) {
		this.fuhe_name = fuhe_name;
	}
	public String getFuhe_time() {
		return fuhe_time;
	}
	public void setFuhe_time(String fuhe_time) {
		this.fuhe_time = fuhe_time;
	}

}
